Operations-Contact: Dennis Krause for Test AG from 1030: Add
Operations Contact to Partner| name | value |
|---|---|
| operationsContactPerson | Dennis Krause |
HTTP GET "/api/hs/office/relations?relationType=OPERATIONS&name=Dennis+Krause" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "3cfff14c-e141-4fa3-83e1-1608965b9ef2", // Operations-Contact: Dennis Krause for Test AG
"anchor" : {
"uuid" : "3029ef4b-ab91-429d-855b-26a8bedcef6e", // Person: Test AG
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "a2c84f0a-1d12-481f-86bd-e4eb4059cb5d", // Person: Dennis Krause
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Dennis",
"familyName" : "Krause"
},
"type" : "OPERATIONS",
"mark" : null,
"contact" : {
"uuid" : "287773fb-2be4-4e46-8f93-4f130d07bdc8", // Contact: Dennis Krause
"caption" : "Dennis Krause",
"postalAddress" : { },
"emailAddresses" : {
"main" : "dennis.krause@example.org"
},
"phoneNumbers" : {
"main" : "+49 9932 587741"
}
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
HTTP DELETE "/api/hs/office/relations/3cfff14c-e141-4fa3-83e1-1608965b9ef2" // Operations-Contact: Dennis Krause for Test AG \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 204 NO_CONTENT
HTTP GET "/api/hs/office/relations/3cfff14c-e141-4fa3-83e1-1608965b9ef2" // Operations-Contact: Dennis Krause for Test AG \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 404 NOT_FOUND
generated on 2026-08-10 03:08:29 for branch HEAD